package com.lingnan.club;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author 邓仁鸿
 * @since 2022-04-05
 */
@SpringBootApplication
@MapperScan("com.lingnan.club.mapper")//扫描mapper接口所在的包
@EnableScheduling //开启定时任务
public class ClubApplication {

    public static void main(String[] args) {

        SpringApplication.run(ClubApplication.class, args);
    }

}
